<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/menuAplicacionParametro.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditTbltipoconceptosTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            
            <h:form>
                <p:panel id="panel" styleClass="panelCabeza" header="#{bundle.EditTbltipoconceptosTitle}">
                    <p:messages id="msgs"/>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditTbltipoconceptosLabel_codConcepto}" for="codConcepto" />
                    <p:inputText id="codConcepto" value="#{tbltipoconceptosController.selected.codConcepto}" title="#{bundle.EditTbltipoconceptosTitle_codConcepto}" required="true" requiredMessage="#{bundle.EditTbltipoconceptosRequiredMessage_codConcepto}"/>
                    <h:outputLabel value="#{bundle.EditTbltipoconceptosLabel_nomConcepto}" for="nomConcepto" />
                    <p:inputText id="nomConcepto" value="#{tbltipoconceptosController.selected.nomConcepto}" title="#{bundle.EditTbltipoconceptosTitle_nomConcepto}" required="true" requiredMessage="#{bundle.EditTbltipoconceptosRequiredMessage_nomConcepto}"/>
                    <h:outputLabel value="#{bundle.EditTbltipoconceptosLabel_tblconceptos}" for="tblconceptos" />
                    <p:selectOneMenu id="tblconceptos" value="#{tbltipoconceptosController.selected.tblconceptos}"  >
                        <f:selectItems value="#{tblconceptosController.itemsAvailableSelectOne}"/>
                    </p:selectOneMenu>
                  
                    
                </h:panelGrid>
                    <p:commandButton action="#{tbltipoconceptosController.update}" update="panel" value="#{bundle.EditTbltipoconceptosSaveLink}"/>
             
                <p:commandButton action="#{tbltipoconceptosController.prepareList}" value="#{bundle.EditTbltipoconceptosShowAllLink}" immediate="true"/>
                </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
